#ifndef DOWNLOADCUSTOMSCENECMD_H
#define DOWNLOADCUSTOMSCENECMD_H


#include "Command/BaseCmd.h"
#include "DataType/CustomSceneStruct.h"
#include "Protocol/CloudProtocol.h"

class DownloadCustomSceneCmd : public BaseCmd
{
    Q_OBJECT
public:
    enum{FunctionCode = CloudProtocol::DownloadCustomScene};

    Q_INVOKABLE explicit DownloadCustomSceneCmd(QObject *parent = 0);


    Package toPackage();
    void unPackage(Package package);


    quint16 sceneIndex() const;
    void setSceneIndex(const quint16 &sceneIndex);

    CustomSceneStruct customScene() const;
    void setCustomScene(const CustomSceneStruct &customScene);

private:
    quint16 m_sceneIndex;
    CustomSceneStruct m_customScene;
};

#endif // DOWNLOADCUSTOMSCENE_H
